home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group96a.txt
/
000195_icon-group-sender _Fri Aug 30 21:41:06 1996.msg
< prev
next >
Wrap
Internet Message Format
|
1996-09-05
|
1KB
Received: by cheltenham.cs.arizona.edu; Fri, 30 Aug 1996 17:20:58 MST
Date: Fri, 30 Aug 1996 21:41:06 -0500
Message-Id: <199608310241.VAA13620@segfault.cs.utsa.edu>
From: Clinton Jeffery <jeffery@segfault.cs.utsa.edu>
To: swampler@noao.edu
Cc: icon-group@cs.arizona.edu
In-Reply-To: <199608301545.IAA17632@orpheus.gemini.edu> (swampler@noao.edu)
Subject: Re: Unbuffered reads from Unix pipes?
Errors-To: icon-group-errors@cs.arizona.edu
> I left my Icon book at home today - can someone tell me the
> character to add to argument 2 of open to read a pipe unbuffered
> under Unix? I want to process each line of input from the pipe
> as it comes in, and now wait for enough lines to fill the input buffer.
I am not aware of any such option letter to open(). open(...,"p") calls
C language popen(), which similarly does not have such an option letter.
Someone could always *add* such a capability and post it as a contribution...
I think it would involve calls to fcntl() or ioctl() or some such.
Clint Jeffery
jeffery@cs.utsa.edu
Division of Computer Science, The University of Texas at San Antonio
Research http://www.cs.utsa.edu/research/plss.html